﻿<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
    <meta charset="UTF-8" />
    <title>@ViewBag.Title</title>
    <link href="/Images/favicon.png" rel="icon" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="description" content="@ViewBag.Description">
    <meta name="keywords" content="@ViewBag.Keywords">
    <meta name="author" content="">
    <!-- CSS Part Start-->
    <link rel="stylesheet" type="text/css" href="/Content/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="/Content/slideshow.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/Content/flexslider.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/Scripts/colorbox/colorbox.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/Content/carousel.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/Content/PagedList.css" media="screen" />
    <!-- CSS Part End-->
    <!-- JS Part Start-->
    <script type="text/javascript" src="/Scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.flexslider.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.easing-1.3.min.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.jcarousel.min.js"></script>
    <script type="text/javascript" src="/Scripts/colorbox/jquery.colorbox-min.js"></script>
    <script type="text/javascript" src="/Scripts/tabs.js"></script>
    <script type="text/javascript" src="/Scripts/cloud_zoom.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.dcjqaccordion.js"></script>
    <script type="text/javascript" src="/Scripts/custom.js"></script>
    <script type="text/javascript" src="/Scripts/html5.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.lazyload.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.validate.min.js"></script>
    <script src="/Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
    <!-- JS Part End-->
    <!-- Google Fonts (Droid Sans) Start -->
    <link href='http://fonts.googleapis.com/css?family=Droid+Sans&amp;v1' rel='stylesheet' type='text/css'>
    <!-- Google Fonts (Droid Sans) End -->
    <script type="text/javascript">
        $(function () {
            $("img.lazy").lazyload({
                effect: "fadeIn"
            });
        });
    </script>
</head>
<body>
    <div class="wrapper-box">
        <div class="main-wrapper">
            <!--Header Part Start-->
            <header id="header">
                <div class="htop">
                    @Html.AntiForgeryToken()
                    @if (WebMatrix.WebData.WebSecurity.IsAuthenticated)
                    {                       
                        <div class="links"><a href="/danh-sach-san-pham-yeu-thich.html" id="wishlist-total">Yêu thích</a> <a href="/thanh-toan.html">Thanh toán</a><a href="/thong-tin-tai-khoan.html">@WebMatrix.WebData.WebSecurity.CurrentUserName</a><a href="/Account/LogOff">Thoát</a> </div>
                    }
                    else
                    {
                        <div class="links"><a href="/danh-sach-san-pham-yeu-thich.html" id="wishlist-total">Yêu thích</a> <a href="/thanh-toan.html">Thanh toán</a><a id="login" href="/dang-nhap.html">Đăng nhập</a><a href="/dang-ky.html">Đăng ký</a> </div>
                    }
                </div>
                <section class="hsecond">
                    <div id="logo">
                        <a href="/">
                            <img src="/Images/logo.png" title="Polishop" alt="Polishop" /></a>
                    </div>
                    <div id="search">
                        <div class="button-search"></div>
                        <input type="text" class="search" name="search" placeholder="Tìm kiếm" value="" />
                    </div>
                    <!--Mini Shopping Cart Start-->
                    @Html.Action("MiniCart", "Home")
                    <!--Mini Shopping Cart End-->
                    <div class="clear"></div>
                </section>
                <!--Top Menu(Horizontal Categories) Start-->
                @Html.Action("TopMenu", "Home")
                <!--Top Menu(Horizontal Categories) End-->
                <!-- Mobile Menu Start-->
                @Html.Action("TopMenuMobile", "Home")
                <!-- Mobile Menu End-->
            </header>
            <!--Header Part End-->
            <div id="container">
                @RenderBody()
            </div>
        </div>
        <!--Footer Part Start-->
        <footer id="footer">
            <div class="fpart-inner">
                <div class="social-part">
                    <!-- Hot Tag Start-->
                    <div class="part3">
                        <h3>Từ khóa</h3>
                        @Html.Action("HotTag", "Home")
                    </div>
                    <!-- Hot Tag End-->
                    <!-- Hot Store Start-->
                    <div id="hot_store" class="part3">
                        <h3>Cửa hàng bán chạy</h3>
                        @Html.Action("HotStore", "Home")
                    </div>
                    <!-- Hot Store End-->
                    <!-- Facebook Box Part Start-->
                    <div id="facebook" class="part3">
                        <h3>FanPage</h3>
                        <div class="line"></div>
                        <div id="fb-root"></div>
                        <div class="fb-like-box" data-href="http://www.facebook.com/160281810726316" data-width="322" data-show-faces="true" data-stream="false" data-header="false" data-colorscheme="dark" data-connections="16" data-color-scheme="dark" data-border-color="#222222"></div>
                    </div>
                    <!-- Facebook Box Part End-->
                </div>
                <div class="column">
                    <h3>Thông tin</h3>
                    <ul>
                        <li><a href="/gioi-thieu-muasambinhdinh.html">Về MuaSamBinhDinh</a></li>
                        <li><a href="/chinh-sach-bao-mat.html">Chính sách bảo mật</a></li>
                        <li><a href="/lien-he-hop-tac.html">Liên hệ hợp tác</a></li>
                    </ul>
                </div>
                <div class="column">
                    <h3>Dịch vụ khách hàng</h3>
                    <ul>
                        <li><a href="/dieu-khoan-mua-ban.html">Điều khoản mua bán</a></li>
                        <li><a href="/phuong-thuc-thanh-toan.html">Phương thức thanh toán</a></li>
                        <li><a href="/chinh-sach-doi-tra-hang.html">Chính sách đổi trả hàng</a></li>
                    </ul>
                </div>

                <div class="column">
                    <h3>Tài khoản</h3>
                    <ul>
                        <li><a href="/thong-tin-tai-khoan.html">Thông tin tài khoản</a></li>
                        <li><a href="/lich-su-dat-hang.html">Lịch sử đặt hàng</a></li>
                        <li><a href="/danh-sach-san-pham-yeu-thich.html">Danh sách yêu thích</a></li>
                    </ul>
                </div>
                <!-- Contact Details Start-->
                <div class="contact contact_icon">
                    <h3>Hỗ trợ khách hàng</h3>
                    <ul>
                        <li class="address">Số 52 Tôn Đức Thắng TP.Quy Nhơn</li>
                        <li class="mobile">0908 847 288</li>
                        <li class="email"><a href="mailto:lienhe@muasambinhdinh.com">lienhe@muasambinhdinh.com</a></li>
                    </ul>
                </div>
                <!-- Contact Details End-->
                <div class="clear"></div>
                <div id="powered">
                    <!-- Payment Images Icon Start-->
                    <div class="payments_types part3">
                       
                    </div>
                    <!-- Payment Images Icon End-->
                    <!-- Powered by Text Start-->
                    <div class="powered_text part3">
                        <p>
                            MuaSamBinhDinh © 2014<br />
                            Bản quyền thuộc về <a target="_blank" href="http://muasambinhdinh.com/">MuaSamBinhDinh.com</a>
                        </p>
                    </div>
                    <!-- Powered by Text End-->
                    <!-- Follow Social Icons Start-->
                    <div class="social part3">
                        <a href="#" target="_blank">
                            <img src="/Images/facebook.png" alt="Facebook" title="Facebook"></a> <a href="#" target="_blank">
                                <img src="/Images/twitter.png" alt="Twitter" title="Twitter">
                            </a><a href="#" target="_blank">
                                <img src="/Images/googleplus.png" alt="Google+" title="Google+">
                            </a><a href="#" target="_blank">
                                <img src="/Images/pinterest.png" alt="Pinterest" title="Pinterest">
                            </a><a href="#" target="_blank">
                                <img src="/Images/rss.png" alt="RSS" title="RSS">
                            </a><a href="#" target="_blank">
                                <img src="/Images/vimeo.png" alt="Vimeo" title="Vimeo">
                            </a>
                    </div>
                    <!-- Follow Social Icons End-->
                    <div class="clear"></div>
                </div>
                <!-- Back to Top Button Start-->
                <div class="back-to-top" id="back-top"><a title="Back to Top" href="javascript:void(0)" class="backtotop">Top</a></div>
                <!-- Back to Top Button End-->
            </div>
        </footer>
        <!--Footer Part End-->

    </div>
</body>
</html>

<script>
    function SearchProduct() {
        var text = $('.search').val();
        window.location.href = '/san-pham/tim-kiem/' + text;
    }
    $(".button-search").click(function () {
        SearchProduct();
    });

    $(".search").keypress(function (event) {
        if (event.which == 13) {
            SearchProduct();
        }
    });
</script>
<script>(function (d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

</script>
